package com.fortune.vo.dUserMgt;

import com.fortune.constants.enums.DELETED;
import com.fortune.constants.enums.Status;
import io.swagger.annotations.ApiModelProperty;

public class User {
	@ApiModelProperty(required=true, example="厂商id")
	private String mid;
	@ApiModelProperty(required=true, example="经销商")
	private String did;
	@ApiModelProperty(required=true, example="员工id")
	private String id;
	@ApiModelProperty(required=true, example="员工账号")
	private String account;
	@ApiModelProperty(required=true, example="员工姓名")
	private String name;
	@ApiModelProperty(required=true, example="员工电话")
	private String phone;
	@ApiModelProperty(required=true, example="岗位名称")
	private Status positionName;
	@ApiModelProperty(required=true, example="账户状态")
	private DELETED status;

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Status getPositionName() {
		return positionName;
	}

	public void setPositionName(Status positionName) {
		this.positionName = positionName;
	}

	public DELETED getStatus() {
		return status;
	}

	public void setStatus(DELETED status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "User{" +
				"mid='" + mid + '\'' +
				", did='" + did + '\'' +
				", id='" + id + '\'' +
				", account='" + account + '\'' +
				", name='" + name + '\'' +
				", phone='" + phone + '\'' +
				", positionName=" + positionName +
				", status=" + status +
				'}';
	}
}
